package com.woniu.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 核心企业追偿
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CoreRecourse {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; //追偿id
    private Integer assetsId; //抵押资产id
    private BigDecimal assetsTrueValue; //抵押资产真实价值
    private BigDecimal compensationValue; //代偿金额
    private BigDecimal remainingAmount; //剩余金额(待追偿金额)
    private Timestamp recourseTime; //追偿时间
    private String coreId; //核心企业id
}
